import http from "../../http.config.js"

const yearlyFortune = {
    add: (params: any) => http.post('/base/yearlyFortune/add', params),
    list: (params: any) => http.get('/base/yearlyFortune/list', params),
    edit: (params: any) => http.put('/base/yearlyFortune/edit', params),
    delete: (params: any) => http.get(`/base/yearlyFortune/remove`, params),
    lxyd_fortune_type: (params: any) => http.get(`/system/dict/data/type/lxyd_fortune_type`, params),
    clean: () => http.delete(`/base/yearlyFortune/clean`),
}

export default yearlyFortune;